home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / System / Swatch / Development / swatch 1.7 / swatch.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-04  |  868 b   |  52 lines  |  [TEXT/KAHL]

  1. /**
  2.  
  3.     swatch.h
  4.     Copyright (c) 1990-1992, joe holt
  5.  
  6.  **/
  7.  
  8.  
  9. #ifndef __swatch__
  10. #define __swatch__
  11.  
  12. /*******************************************************************************
  13.  **
  14.  **    Headers
  15.  **
  16.  **/
  17.  
  18. #ifndef __ctypes__
  19. #include "ctypes.h"
  20. #endif
  21.  
  22.  
  23. /*******************************************************************************
  24.  **
  25.  **    Public Variables
  26.  **
  27.  **/
  28.  
  29. extern SysEnvRec This_mac;
  30. extern Boolean in_foreground;
  31. extern Boolean Debugger_installed;
  32.  
  33.  
  34. /*******************************************************************************
  35.  **
  36.  **    Public Functions
  37.  **
  38.  **/
  39.  
  40. #if 1
  41. #define assert(expression, message) \
  42.     ( (expression) ? (void) 0 : DebugStr(message) )
  43. #else
  44. #define assert(ignore1, ignore2) ((void) 0)
  45. #endif
  46.  
  47. Boolean Swatch_in_foreground( void );
  48. void Bail( int16 alert_number );
  49. unsigned char *pstr( int16 index );
  50.  
  51. #endif  /* ifndef _H_SWATCH */
  52.